package org.jeecgframework.web.service;
import java.io.Serializable;
import java.util.List;
import java.util.Map;

import org.jeecgframework.core.common.service.CommonService;
import org.jeecgframework.web.system.pojo.base.DataintegritycheckEntity;

public interface DataintegritycheckServiceI extends CommonService{
	
 	public <T> void delete(T entity);
 	
 	public <T> Serializable save(T entity);
 	
 	public <T> void saveOrUpdate(T entity);
 	
 	/**
	 * 默认按钮-sql增强-新增操作
	 * @param id
	 * @return
	 */
 	public boolean doAddSql(DataintegritycheckEntity t);
 	/**
	 * 默认按钮-sql增强-更新操作
	 * @param id
	 * @return
	 */
 	public boolean doUpdateSql(DataintegritycheckEntity t);
 	/**
	 * 默认按钮-sql增强-删除操作
	 * @param id
	 * @return
	 */
 	public boolean doDelSql(DataintegritycheckEntity t);
 	
 	/**
	 * @author dongzhiqiang
	 * @Date 2016-7-4 下午13:53:06
	 * @Description 执行一致性检查sql语句
	 */
 	public List<Map<String, Object>> executeSql();
 	
}
